package com.yida.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.yida.bean.tag;

@Mapper
public interface adminMapper {
	
    List<tag> selectTagSum();
    
    List<tag> selectTags(@Param("pagehead") Integer pagehead,@Param("pagetail") Integer pagetail);
    
    //删除标签
    Integer deleteTag(Integer id);
    
    //更改标签
    Integer  updateTag(tag tag);
    
    //插入标签
    Integer  insertTag(tag tag);
    
}
